import  Mock  from 'mockjs'
import rollPlay from '@/mock/rollPlay'
import floor from '@/mock/floor'
// console.log(mock)
// Mock.mock('http://localhost:8080/qwe','get','哈哈哈哈')
//拦截获取轮播图的请求
Mock.mock('/mock/rollplay','get',{code:200,data:rollPlay,message:'成功',ok:true})
//拦截获取楼层的请求
Mock.mock('/mock/floor','get',{code:200,data:floor,message:'成功',ok:true})